<script lang="ts" setup>

interface Props {
  list: string[]
  height?: number;
}

const {list, height} = defineProps<Props>()
</script>

<template>
  <view>
    <u-swiper
        :height="height || 300"
        :list="list"
    ></u-swiper>
  </view>
</template>

<style lang="scss" scoped>

</style>